<div class="col-xs-10 col-xs-offset-1 form-horizontal mt20">
	<div class="panel panel-defalut">
		<div class="panel-heading">
			<font face="Courier" class="" size="5">酒店房型信息</font>
		</div>
		<div class="panel-body">
			<div class="form-group">
				<label class="col-xs-2 control-label">酒店房型名称</label>
				<div class="col-xs-6">
					<input type="text" class="form-control" placeholder="请输入酒店房型名称" ng-model="objt.name">
				</div>
			</div>

			<div class="form-group" ng-show="placeid === ''">
				<label class="col-xs-2 control-label">所属酒店</label>
				<div class="col-xs-6">
					<ui-select ng-model="objt.place_code" ng-change="change(objt.place_code)" theme="bootstrap" ng-disabled="id">
						<ui-select-match placeholder="请选择一个酒店">{{$select.selected.name}}</ui-select-match>
						<ui-select-choices repeat="item.code as item in viewarr | filter: $select.search">
							<span ng-bind-html="item.name | highlight: $select.search"></span>
						</ui-select-choices>
					</ui-select>
				</div>
			</div>

			<div class="form-group" ng-show="placeid !== ''">
				<label class="col-xs-2 control-label">所属酒店</label>
				<div class="col-xs-6">
					<p class="form-control-static">{{objt.placename}}
					<ui-select ng-model="objt.place_code" ng-change="change(obj.place_code)" theme="bootstrap" ng-disabled="id">
						<ui-select-match placeholder="请选择一个酒店">{{$select.selected.name}}</ui-select-match>
						<ui-select-choices repeat="item.code as item in viewarr | filter: $select.search">
							<span ng-bind-html="item.name | highlight: $select.search"></span>
						</ui-select-choices>
					</ui-select>
					</p>
				</div>
			</div>

			<div class="form-group">
				<label class="col-xs-2 control-label">允许消票</label>
				<div class="col-xs-6">
					<label class="radio-inline">
			  <input type="radio" name="used_state" value="0"
			  ng-model="objt.used_state"
			  > 允许
			</label>
					<label class="radio-inline">
			  <input type="radio" name="used_state" value="1"
			  ng-model="objt.used_state"
			  > 不允许
			</label>
				</div>
			</div>

			<div class="form-group">
				<label class="col-xs-2 control-label">票种状态</label>
				<div class="col-xs-6">
					<label class="radio-inline">
			  <input type="radio" name="state" value="0"
			  ng-model="objt.state"
			  > 不可用
			</label>
					<label class="radio-inline">
			  <input type="radio" name="state" value="1"
			  ng-model="objt.state"
			  > 可用
			</label>
				</div>
			</div>

			<div class="form-group">
				<label class="col-xs-2 control-label">预订说明</label>
				<div class="col-xs-6">
					<textarea class="form-control" rows="3" ng-model="objt.book_info" ng-disabled="util.what == 'info'"></textarea>
					<!--<div class="ueditor" ng-model="objt.book_info"></div>-->
				</div>
			</div>

			<!-- <div class="form-group">
				<label class="col-xs-2 control-label">打印设置</label>
				<div class="col-xs-6">
					<table class="table table-bordered">
						<thead>
							<tr>
								<th class="col-xs-2 text-center">#</th>
								<th class="col-xs-8 text-center">名称</th>
								<th class="col-xs-2 text-center">
									<a ng-click="printadd()" class="btn" style="color: green; padding:0px;">
								<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
							</a>
								</th>
							</tr>
						</thead>
						<tbody>
							<tr ng-repeat='obj in objs'>
								<td class="text-center ">
									<p class="pt5">{{$index + 1}}</p>
								</td>
								<td class="text-center">
									<input type="text" class="form-control" placeholder="请输入打印名称" ng-model="obj.name">
								</td>
								<td class="text-center">
									<a ng-click="printdel($index)" class="btn" style="color: red; padding:0px; padding-top: 5px;">
								<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
							</a>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div> -->
			
			<div class="form-group" style="margin-bottom:0px">
				<label class="col-sm-2 col-xs-12 control-label">酒店图片</label>
				<div class="col-sm-4 col-xs-12 ">
					<img ng-src="{{objt.img}}" width="300" height="200" ng-model="objt.img">
					<input type="file" nv-file-select uploader="uploader1"  />
					<br>
					<ul class="list-group">
						<li class="list-group-item" ng-repeat="item in uploader1.queue">
							文件名: <span ng-bind="item.file.name"></span>
							<button type="button" class="btn btn-default btn-xs" ng-click="item.upload()"><span class="glyphicon glyphicon-upload"></span> 上传</button>
							<div class="progress mt10">
								<div class="progress-bar" role="progressbar" ng-style="{ 'width': uploader1.progress + '%' }"></div>
							</div>
						</li>
					</ul>
				</div>
			</div>

			<div class="form-group" style="margin-top:0px">
				<label class="col-xs-2 control-label">最大入住成人数</label>
				<div class="col-xs-3">
					<input type="number" class="form-control" placeholder="" ng-model="max_adult" min="0">
				</div>
			</div>

			<div class="form-group">
				<label class="col-xs-2 control-label">最大入住儿童数</label>
				<div class="col-xs-3">
					<input type="number" class="form-control" placeholder="" ng-model="max_child" min="0">
				</div>
			</div>

			<div class="form-group">
				<label class="col-xs-2 control-label">面积</label>
				<div class="col-xs-3">
					<input type="number" class="form-control" placeholder="" ng-model="area" min="0">
				</div>
				<span style="font-size:10px">(说明：案例，38)</span>
			</div>

			<div class="form-group">
				<label class="col-xs-2 control-label">楼层</label>
				<div class="col-xs-3">
					<input type="text" class="form-control" placeholder="" ng-model="floor" min="0">
				</div>
				<span style="font-size:10px">(说明：案例，14层到17层)</span>
			</div>

			<div class="form-group">
				<label class="col-xs-2 control-label">房间数量</label>
				<div class="col-xs-3">
					<input type="number" class="form-control" placeholder="" ng-model="room_num" min="0">
				</div>
			</div>

			<div class="form-group">
				<label class="col-xs-2 control-label">是否加床</label>
				<div class="col-xs-6">
			<label class="radio-inline">
			  <input type="radio" name="state" value="0"
			  ng-model="add_bed"
			  > 不加床
			</label>
			<label class="radio-inline">
			  <input type="radio" name="state" value="1"
			  ng-model="add_bed"
			  > 加床
			</label>
				</div>
			</div>

			<div class="form-group" ng-show="add_bed == '1'">
				<label class="col-xs-2 control-label" >可以加床价格</label>
				<div class="col-xs-3">
					<input type="number" class="form-control" placeholder="" ng-model="add_bed_price" min="0">
				</div>
			</div>

			<!-- <div class="form-group">
				<label class="col-xs-2 control-label">房型</label>
				<div class="col-xs-3">
					<input type="number" class="form-control" placeholder="" ng-model="" min="0">
				</div>
			</div> -->

			<div class="form-group">
				<label class="col-xs-2 control-label">房型</label>
				<div class="col-xs-10">
			<label class="radio-inline">
			  <input type="radio" name="room_style" value="0"
			  ng-model="room_style"
			  > 大床
			</label>
			<label class="radio-inline">
				<input type="radio" name="room_style" value="1"
				ng-model="room_style"
				> 单床
			  </label>
			<label class="radio-inline">
			  <input type="radio" name="room_style" value="2"
			  ng-model="room_style"
			  > 双床
			</label>
			<label class="radio-inline">
				<input type="radio" name="room_style" value="3"
				ng-model="room_style"
				> 大床/双床
			  </label>
			  <label class="radio-inline">
				<input type="radio" name="room_style" value="4"
				ng-model="room_style"
				> 多床组合
			  </label>
			  <label class="radio-inline">
				<input type="radio" name="room_style" value="5"
				ng-model="room_style"
				> 圆床
			  </label>
			  <label class="radio-inline">
				<input type="radio" name="room_style" value="6"
				ng-model="room_style"
				> 水床
			  </label>
			  <label class="radio-inline">
				  <input type="radio" name="room_style" value="7"
				  ng-model="room_style"
				  > 拼床
				</label>
				<label class="radio-inline">
				  <input type="radio" name="room_style" value="8"
				  ng-model="room_style"
				  > 榻榻米
				</label>
				<label class="radio-inline">
					<input type="radio" name="room_style" value="9"
					ng-model="room_style"
					> 特大床
				  </label>
				<label class="radio-inline">
					<input type="radio" name="room_style" value="10"
					ng-model="room_style"
					> 3张单人床
				  </label>
				  <label class="radio-inline">
					<input type="radio" name="room_style" value="11"
					ng-model="room_style"
					> 3张床--1张大床和2张单人床
				  </label>
				  <label class="radio-inline">
					<input type="radio" name="room_style" value="12"
					ng-model="room_style"
					> 上下铺
				  </label>
				  <label class="radio-inline">
					<input type="radio" name="room_style" value="13"
					ng-model="room_style"
					> 水床--大床
				  </label>
				  <label class="radio-inline">
					<input type="radio" name="room_style" value="14"
					ng-model="room_style"
					> 水床--双床
				  </label>
				  <label class="radio-inline">
					<input type="radio" name="room_style" value="15"
					ng-model="room_style"
					> 水床--单人床
				  </label>
				  <label class="radio-inline">
					<input type="radio" name="room_style" value="16"
					ng-model="room_style"
					> 标间+单人套间
				  </label>
				  <label class="radio-inline">
					<input type="radio" name="room_style" value="17"
					ng-model="room_style"
					> 豪华大床间
				  </label>
				  <label class="radio-inline">
					<input type="radio" name="room_style" value="18"
					ng-model="room_style"
					> 双床/大床
				  </label>
				  <label class="radio-inline">
					<input type="radio" name="room_style" value="19"
					ng-model="room_style"
					> 多张床
				  </label>
				  <label class="radio-inline">
					<input type="radio" name="room_style" value="20"
					ng-model="room_style"
					> 其他床型
					</label>
					
						<input  type="text"  value="20" ng-model="bed_else" ng-show="room_style == '20'"> 
						<span  ng-show="room_style == '20'" style="font-size:10px">(说明：案例，180cm*200cm；案例，可以拼床)</span>
					
					
				
				</div>
			</div>

			<div class="form-group">
				<label class="col-xs-2 control-label">无烟房</label>
				<div class="col-xs-6">
			<label class="radio-inline">
			  <input type="radio" name="smoke_room" value="0"
			  ng-model="smoke_room"
			  > 有无烟楼层
			</label>
			<label class="radio-inline">
			  <input type="radio" name="smoke_room" value="1"
			  ng-model="smoke_room"
			  > 有无烟房
			</label>
			<label class="radio-inline">
				<input type="radio" name="smoke_room" value="2"
				ng-model="smoke_room"
				> 该房可做无烟处理
			  </label>
			  <label class="radio-inline">
				<input type="radio" name="smoke_room" value="3"
				ng-model="smoke_room"
				> 无
			  </label>
				</div>
			</div>

			<div class="form-group">
					<label class="col-xs-2 control-label">宽带</label>
					<div class="col-xs-6">
				<label class="radio-inline">
					<input type="radio" name="web" value="0"
					ng-model="web"
					> 免费
				</label>
				<label class="radio-inline">
					<input type="radio" name="web" value="1"
					ng-model="web"
					> 无
				</label>
				<label class="radio-inline">
					<input type="radio" name="web" value="2"
					ng-model="web"
					> 收费
					</label>
					<input  type="text"  ng-model="web_else" ng-show="web == '2'"> 
					<span  ng-show="web == '2'" style="font-size:10px">( 说明：案例，早9点到10点8元；案例，10元/小时)</span>
					</div>
				</div>

			<div class="form-group">
				<label class="col-xs-2 control-label">窗户</label>
				<div class="col-xs-6">
			<label class="radio-inline">
			  <input type="radio" name="window" value="0"
			  ng-model="window"
			  > 有窗
			</label>
			<label class="radio-inline">
			  <input type="radio" name="window" value="1"
			  ng-model="window"
			  > 无窗
			</label>
			<label class="radio-inline">
				<input type="radio" name="window" value="2"
				ng-model="window"
				> 部分有窗
			  </label>
				</div>
			</div>

			<div class="form-group">
				<label class="col-xs-2 control-label">描述</label>
				<div class="col-xs-6">
					<textarea class="form-control" rows="3" ng-model="describe" ng-disabled=""></textarea>
					<!--<div class="ueditor" ng-model="objt.book_info"></div>-->
				</div>
			</div>










			<button type="button" class="btn btn-primary btn-lg btn-block" ng-click="gogo()">
    提交
    </button>

		</div>

	</div>

</div>